package org.example.dao;

import org.apache.ibatis.annotations.Mapper;
import org.example.model.User;

import java.util.List;

@Mapper
public interface UserDao {
    List<User> getUserList(String userName);

    int addUser(User user);

    int updateUser(User user);

    int deleteUser(int id);


}
